<?php
echo $this->form;?>
<?php $this->headScript()->appendScript('$(document).ready(function(){
$("#object").watermark("Object");
$("#text").watermark("Text");
$("#mailForm").validationEngine("attach");
});');?>